package edu.sctu.practice.class02.Wangpeng.Test10;

/**
 * Created by wp on 2015/11/9.
 */
public class Addition {
    public Addition(){}

    void add(int a,int b){
        int c=a+b;
        System.out.println("a+b="+c);
    }
    void add(long a,long b){
        long c=a+b;
        System.out.println("a+b="+c);
    }
    void add(float a,float b){
        float c=a+b;
        System.out.println("a+b="+c);
    }
    void add(double a,double b){
        double c=a+b;
        System.out.println("a+b="+c);
    }
    void add(String a,String b){
        String c=a+b;
        System.out.println("a+b="+c);
    }
}
